package com.blog.service;

import com.blog.dto.ArticleDTO;
import com.blog.dto.Result;
import org.springframework.web.multipart.MultipartFile;

public interface ArticleService {
    void addArticle(ArticleDTO article);

    Result getArticle(Integer articleId);

    Result getarticlecards(Integer pageNum, Integer pageSize);


    Result get_sidebar();

    Result uploadimages(MultipartFile file);
}
